</head>
<body>
<!--头部-->
<div class='top-list-wrap'>
    <div class='top-list'>
        <ul class='l-list'>
            <li><a href="http://www.houdunwang.com" target='_blank'>后盾网</a></li>
            <li><a href="http://bbs.houdunwang.com" target='_blank'>后盾网论坛</a></li>
            <li><a href="http://study.houdunwang.com" target='_blank'>后盾学习社区</a></li>
        </ul>
        <ul class='r-list'>
            <li><a href="http://www.hdphp.com" target='_blank'>HDPHP框架</a></li>
            <li><a href="http://bbs.houdunwang.com" target='_blank'>免费视频教程</a></li>
        </ul>
    </div>
</div>


<div class='top-search-wrap'>
    <div class='top-search'>
        <a href="http://bbs.houdunwang.com" target='_blank' class='logo'>
            <img src="__PUBLIC__/Images/logo.png"/>
        </a>
        <div class='search-wrap'>
            <form action="" method='get'>
                <input type="text" name='keyword' class='search-content'/>
                <input type="submit" name='search' value='搜索'/>
            </form>
        </div>
    </div>
</div>

<!--<php>
    $cate = M('cate') -> order('sort') -> select();
    import('Class.Category',APP_PATH);
    $cate = Category::unlimitedForLayer($cate);
</php>
<div class='top-nav-wrap'>
    <ul class='nav-lv1'>
        <li class='nav-lv1-li'>
            <a href="" class='top-cate'>博客首页</a>
        </li>
        <foreach name="cate" item="v">
            <li class='nav-lv1-li'>
                <a href="" class='top-cate'>{$v.name}</a>
                <if condition="$v['child']">
                    <ul>
                        <foreach name="v.child" item="value">
                        <li><a href="">{$value.name}</a></li>
                        </foreach>
                    </ul>
                </if>
            </li>
        </foreach>


    </ul>
</div>-->
<!--说明自动调了一下标签-->
<div class='top-nav-wrap'>
    <ul class='nav-lv1'>
        <li class='nav-lv1-li'>
            <a href="__GROUP__" class='top-cate'>博客首页</a>
        </li>
            <!--扩充thinkphp标签库-->
        <nav limit="20" order="sort">
            <li class='nav-lv1-li'>
                <a href="{$url}" class='top-cate'>{$name}</a>
                    <ul>
                        <foreach name="child" item="v">
                            <li><a href="{:U('/c_'.$v['id'])}">{$v.name}</a></li>
                        </foreach>
                    </ul>
            </li>
        </nav>

    </ul>
</div>